package com.jsoft.pds.view.beans.report;

import java.util.ArrayList;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

import com.jsoft.pds.view.beans.base.BaseViewListBean;

@ManagedBean(name = "cobroDiarioListBean")
@ViewScoped
public class CobroDiarioListBean extends BaseViewListBean<CobroDiarioBean>{

	private static final long serialVersionUID = 3241655991732093901L;
	
	public CobroDiarioListBean(){
		lista = new ArrayList<CobroDiarioBean>();
		loadLista();
	}

	public void loadLista(){
		CobroDiarioBean bean = new CobroDiarioBean();
		bean.setNombrePaciente("06/04/1988 Oswaldo Emmanuel Lopez Solorzano");
		bean.setTipoCobro("Tipo Cobro 1");
		bean.setPrecio(120.00);
		lista.add(bean);
		
		bean = new CobroDiarioBean();
		bean.setNombrePaciente("06/04/1988 Julio Cesar Ayapan");
		bean.setTipoCobro("Tipo Cobro 2");
		bean.setPrecio(252.20);
		lista.add(bean);
		
		bean = new CobroDiarioBean();
		bean.setNombrePaciente("06/04/1988 Marta Aguilar");
		bean.setTipoCobro("Tipo Cobro 3");
		bean.setPrecio(100.00);
		lista.add(bean);
	}
}
